package http.annotation;

import org.springframework.web.bind.annotation.RequestMethod;

import java.lang.annotation.*;

/**
 * 相当于spring 的 @RequestMapping注解
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface NettyMapping {
    String[] value() default {};

    RequestMethod[] method() default {};

}
